<%@page import="com.sree.tali.pojo.HomeList"%>
<%@page import="java.util.List"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<div id="box3common">

<div id="aadv">
<font color="#FF00BF"><div id="adv1"> శ్రీను ఇస్ ఎ </font></div>

 <% List<HomeList> hrs1 = (List<HomeList>)session.getAttribute("list24MostViewed"); 
    int j=0;
   for(HomeList hl :hrs1) {
   String color ="993300" ;
    if(j%3==0)  color ="#cc00ff" ;
    if(j%3==1)  color ="#993300" ;
    if(j%3==2)  color ="#0066ff" ;
    j=j+1;
    if(j>5) 
    break;
%>
<!--logic:iterate name="hrs24" id="hrs24Id" scope="session"> 
       <!--bean:define name="hrs24Id" id="url" /-->
       <br /><b><a href="<%=request.getContextPath()%>/home.do?method=displayPage&id=<%=hl.getId() %>" style="text-decoration: none">
              <font size="3" color="<%=color%>">
           &nbsp;&nbsp;&nbsp;&#9830;&nbsp;&nbsp; <%=hl.getTitle()%>
              </font></a></b>
   
  <!--/logic:iterate-->  
  <%}%>


   </div>


<div id="adv"><div id="adv1"><font color="#FF00BF"> శ్రీను ఇస్ ఎ </font></div>

    
 <% List<HomeList> mm70 = (List<HomeList>)session.getAttribute("list70MostViewed"); 
    int k=0;
   for(HomeList hl :mm70) {
   String color ="993300" ;
    if(k%3==0)  color ="#cc00ff" ;
    if(k%3==1)  color ="#993300" ;
    if(k%3==2)  color ="#0066ff" ;
    k=k+1;
    if(k>5) 
    break;
%>
<!--logic:iterate name="hrs24" id="hrs24Id" scope="session"> 
       <!--bean:define name="hrs24Id" id="url" /-->
       <br /><b><a href="<%=request.getContextPath()%>/home.do?method=displayPage&id=<%=hl.getId() %>" style="text-decoration: none">
              <font size="3" color="<%=color%>">
             &nbsp;&nbsp;&nbsp;&#9830;&nbsp;&nbsp; <%=hl.getTitle()%>
              </font></a></b>
   
  <!--/logic:iterate-->  
  <%}%>


    
</div>
 <div id="adv"><div id="adv1"><font color="#FF00BF">  శ్రీను ఇస్ ఎ </font></div>
 
     
 <% List<HomeList> AtoZ = (List<HomeList>)session.getAttribute("AtozMostViewed"); 
    int l=0;
   for(HomeList hl :AtoZ) {
   String color ="993300" ;
    if(l%3==0)  color ="#cc00ff" ;
    if(l%3==1)  color ="#993300" ;
    if(l%3==2)  color ="#0066ff" ;
    l=l+1;
    if(l>5) 
    break;
%>
<!--logic:iterate name="hrs24" id="hrs24Id" scope="session"> 
       <!--bean:define name="hrs24Id" id="url" /-->
       <br /><b><a href="<%=request.getContextPath()%>/home.do?method=displayPage&id=<%=hl.getId() %>" style="text-decoration: none">
              <font size="3" color="<%=color%>">
             &nbsp;&nbsp;&nbsp;&#9830;&nbsp;&nbsp; <%=hl.getTitle()%>
              </font></a></b>
   
  <!--/logic:iterate-->  
  <%}%>


 
 </div>
 				 
</div>